package com.hdl.entity;
/**
 * MALL_ORDER_DETAIL 订单详情表实体类
 * @author Administrator
 *
 */
public class MallOrderDetail {
	
	/**
	 * mallOrderDetailId 订单详情表主键
	 */
	private String mallOrderDetailId;
	
	/**
	 * mallOrderId 订单表主键
	 */
	private String mallOrderId;
	
	/**
	 * product 商品表对象
	 */
	/* private String mallProductId; */
	//为了体现对应关系 商品详情存入的是商品而不是商品的id 同时存入商品对象能够携带更多的信息
	private MallProduct product;
	
	/**
	 * mallOrderDetailCount 购物项商品的数量
	 */
	private Integer mallOrderDetailCount;
	
	/**
	 * mallOrderDetailPrice 购物项商品的小计价格
	 */
	private Integer mallOrderDetailPrice;

	public String getMallOrderDetailId() {
		return mallOrderDetailId;
	}

	public void setMallOrderDetailId(String mallOrderDetailId) {
		this.mallOrderDetailId = mallOrderDetailId;
	}

	public String getMallOrderId() {
		return mallOrderId;
	}

	public void setMallOrderId(String mallOrderId) {
		this.mallOrderId = mallOrderId;
	}

	public MallProduct getProduct() {
		return product;
	}

	public void setProduct(MallProduct product) {
		this.product = product;
	}

	public Integer getMallOrderDetailCount() {
		return mallOrderDetailCount;
	}

	public void setMallOrderDetailCount(Integer mallOrderDetailCount) {
		this.mallOrderDetailCount = mallOrderDetailCount;
	}

	public Integer getMallOrderDetailPrice() {
		return mallOrderDetailPrice;
	}

	public void setMallOrderDetailPrice(Integer mallOrderDetailPrice) {
		this.mallOrderDetailPrice = mallOrderDetailPrice;
	}

	@Override
	public String toString() {
		return "MallOrderDetail [mallOrderDetailId=" + mallOrderDetailId + ", mallOrderId=" + mallOrderId + ", product="
				+ product + ", mallOrderDetailCount=" + mallOrderDetailCount + ", mallOrderDetailPrice="
				+ mallOrderDetailPrice + "]";
	}
	
	
	
	
	
	
}
